package com.cloudpan.entity.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * @Author sc
 * @DATE 2023/11/8 11:23
 * @Description:
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserFriend对象", description="用户好友信息")
@TableName("sys_user_friend")
public class SysUserFriend {

    @ApiModelProperty(value = "id ")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "用户ID ")
    private String userId;

    @ApiModelProperty(value = "好友id")
    private String friendId;

    @ApiModelProperty(value = "好友备注")
    private String notes;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private String delFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
